package com.eastfair.venuebooking.service;

import com.eastfair.boot.service.SuperService;
import com.eastfair.venuebooking.dto.UserCustomerStarDTO;
import com.eastfair.venuebooking.dto.UserCustomerStarQuery;
import com.eastfair.venuebooking.entity.UserCustomerStar;

/**
 * <p>
 * 业务接口
 * 客户重点关注表
 * </p>
 *
 * @author linan
 * @date 2022-06-08
 */
public interface UserCustomerStarService extends SuperService<UserCustomerStar> {

    /**
     * 用户是否已关注客户.
     *
     * @param query the query
     * @return the user customer star
     */
    boolean existUserCustomerStar(UserCustomerStarQuery query);

    /**
     * 通过移除userId和customerId.
     *
     * @param updateDTO the update dto
     * @return the boolean
     */
    boolean removeByUserIdAndCustomerId(UserCustomerStarDTO updateDTO);
}
